package cn.lzm;

import cn.lzm.domain.Product;
import cn.lzm.mapper.ProductMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;

import java.util.List;
//@RunWith(SpringRunning.class)
public class test {
    @Autowired
    private ProductMapper productMapper;
    @Test
    public void test01(){
        List<Product> products = productMapper.selectAll();
        System.out.println(products);
    }
}
